package com.my.blogapi.service;

import com.my.blogapi.dao.pojo.SysUser;
import com.my.blogapi.vo.param.LoginParams;
import com.my.blogapi.vo.param.Result;

public interface LoginService {
    Result login(LoginParams loginParams);

    Result currentUser(String token);

    Result loginOut(String token);

    Result register(LoginParams loginParams);

    SysUser checkToken(String token);
}
